﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title><?php echo $title; ?></title>
<link type="text/css" rel="stylesheet" href="<?php echo site_url('css/common.css')?>"/>
<link type="text/css" rel="stylesheet" href="<?php echo site_url('css/jquery.datepick.css')?>" />
<link type="text/css" rel="stylesheet" href="<?php echo site_url('css/themes_'.$this->WEB_SET['WEB_CSS'].'.css')?>" />
<?php 
foreach ($css as $_css):
    echo $_css;
endforeach;
 ?>
<script type="text/javascript" src="<?php echo site_url('js/jquery-1.4.4.min.js')?>"></script>
<script language="javascript" type="text/javascript" src="<?php echo site_url('js/jquery.datepick.pack.js')?>"></script>

<!--<script language="javascript" type="text/javascript" src="<?php echo site_url('js/jquery.datepick-zh-CN.js')?>"></script>-->

<script type="text/javascript">
var _baseroot="<?php echo base_url()?>";

function changelanguage(obj){
	window.location=_baseroot+"home/changelang/"+obj.value+"?returnurl=<?=urlencode(uri_string())?>";	
}
</script>
</head>
<body>
<?php
if ($this->session->userdata("usenoframe")!="1")
{
?>
<div class="Header">
	<div id="Logo"><a href="<?php echo base_url()?>"><img src="<?php echo site_url($this->WEB_SET["WEB_LogoURL"])?>" alt="Logo" /></a></div>
	<div id="head_box1">
		<?php if (!$this->session->userdata('user_in')){  ?>
		   <a href="<?php echo site_url('user/login')?>"><?=lang("sign_in")?></a>,<?=lang("New_here")?>?|
		   <a href="<?php echo site_url('user/register')?>"><?=lang("register")?></a>
		 <?php }else{ ?>
		 <?=lang('hello')?>,<?php echo $this->session->userdata('user_name');?><a href="<?php echo site_url('user/logout')?>">[<?=lang("login_out")?>]</a> 
		<?php  }?>
	</div>
	<div class="clear"></div>
	<div id="headmenu">
		<table border=0 width=926 style="margin:0px 0 0 40px">
			<tr height=28 >
				<td><a href="<?php echo base_url('')?>"><?=lang("menu_home")?></a></td>
				<td width=30><span class="imgsp"></span></td>
				<td><a href="<?php echo base_url()?>"><?=lang("menu_flights")?></a></td>
				<td width=30><span class="imgsp"></span></td>
				
				<td><a href="<?php echo site_url('international')?>"><?=lang("menu_International")?></a></td>
				<td width=30><span class="imgsp"></span></td>
				
				<td><a href="<?php echo site_url('order/queryorder')?>"><?=lang("menu_myorders")?></a></td>				
				<td align=right width=380 >
					<?php
					$arlang=array(
						"english" =>"English",
						"sc" =>"简体中文",
						"zh" =>"繁體中文"
					);
					echo form_dropdown("lang",$arlang,$this->session->userdata("lang"),'style="width:175px" onchange="changelanguage(this);"')
					?>
				</td>
			</tr>
		</table>	
	</div>
</div>
<?php
}
?><!--顶部内容结束-->
